<?php
require 'Course.php';
 $c1=new Course(1,'PHP开发',180,'Web前端开发');
 
 //测试__get();
 $c1=$c1->id;
 echo $c1;


 //测试__set();
 //$c1->id=2;
 //$c1->printInfo();